package cn.tedu.pojo;

public class User {

    /***
     *  USER_ID              varchar(40) not null,
     DEPT_ID              varchar(40),
     USERNAME             varchar(50),
     PASSWORD             varchar(20),
     STATE                int comment '1启用0停用',
     */

    private String userId;
    private String deptId;
    private String username;
    private String password;
    private int state;
    private UserInfo userInfo;
    private Dept dept;

    public Dept getDept() {
        return dept;
    }
    public void setDept(Dept dept) {
        this.dept = dept;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getDeptId() {
        return deptId;
    }
    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public int getState() {
        return state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public UserInfo getUserInfo() {
        return userInfo;
    }
    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
    @Override
    public String toString() {
        return "User [userId=" + userId + ", deptId=" + deptId + ", username=" + username + ", password=" + password
                + ", state=" + state + ", userInfo=" + userInfo + ", dept=" + dept + "]";
    }



}
